package com.library.ble.conn;

import android.bluetooth.BluetoothGattCallback;

import com.library.ble.exception.BleException;


public abstract class BleCallback {
    private BluetoothGattCallback bluetoothGattCallback;

    public abstract void onFailure(BleException bleException);

    protected BleCallback setBluetoothGattCallback(BluetoothGattCallback bluetoothGattCallback) {
        this.bluetoothGattCallback = bluetoothGattCallback;
        return this;
    }

    public BluetoothGattCallback getBluetoothGattCallback() {
        return this.bluetoothGattCallback;
    }

    public void onInitiatedSuccess() {
    }
}
